import { effect } from "./effect"

interface EffectOption {
  flush?:'sync'|'post'|'pre'
}

interface WatchOption {
  deep?:boolean

}

export function watch(
  source:any, 
  callback:Function, 
  option:WatchOption) {
  
  const runner = effect(()=>{}, {
    lazy:true,
    computed:true,
    
  })

}

export function watchEffect(effect:Function, option:EffectOption={}) {}

export function watchPostEffect() {}
export function watchSyncEffect() {}

